package com.nature.ffmpegforandroid

import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        // Example of a call to a native method
        sample_text.text = NativeUtils.getFFmpegVersion()

        btn_native_media.setOnClickListener {
            Intent(this, NativeMediaPlayActivity::class.java).apply {
                startActivity(this)
            }

        }


        // 看下  git
    }

    /**
     * A native method that is implemented by the 'native-lib' native library,
     * which is packaged with this application.
     */


}
